package com.loan.market

import android.app.Application
import com.hjq.toast.Toaster
import com.loan.market.util.initAppFlyer
import com.orhanobut.logger.AndroidLogAdapter
import com.orhanobut.logger.Logger


class LoanApp : Application() {
    override fun onCreate() {
        super.onCreate()
        application = this
        initAppFlyer()
        Toaster.init(this)
        Logger.addLogAdapter(AndroidLogAdapter())
    }

    companion object {
        lateinit var application: Application
    }

}